SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0243fc9e71e1d10ea8bc72761bad8eefc046224f71f583a92c7210bdebfb2fb9' 
  AND token = 'Y734NaPp4eL8ECE/2C//xZY62itt9i4n4zVJYISjhO4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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