SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21988d09fddbeb45aa8e61ec8ca1a87098c9a04695c24e198d4918830f76fe6c' 
  AND token = 'KMW4ZWhfH4NOYkD2N02HTtXRGOBxjw9AXt813dKowck=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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