SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '227b86578d001950f7f10aa797c34b5dd7dcd9484a54aa969e7b1a1325fcdc04' 
  AND token = '5dK8MooTVsgNgU25voksfHWP/cPEXic4c9iSiyJRu6Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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