SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4f164f45fad951a2c4abe009802a82f2ebb4755c9a9354e32e4d249a58636b1a' 
  AND token = 'AitEaHmqiVq4Eoa2qR6VMJp9Bz5kEL2GfVr6GxV0VCg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}