SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddf2676ce19149bf794916b4d5f146dbde227606e3fb5333224f43d7118f9f38' 
  AND token = 'wqNC9O6nWC1+h25dHqq0Of6yQzYAskZYrC54SN5Mb+4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00119

JSON explain

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