SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a540c93dc773cda38e252f4e4b445b2ed782d3171d4f3e66038c016c7c19e28' 
  AND token = 'Ds5jP0oyTUB7VC+cJ9dM5lrDPpQKCcZmpiYF8CXCZOQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}