SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d7889e0d6ed2306d6c7b2daa13719411bc82372d4831e8d98365d7bf4e33136' 
  AND token = '7QafzDrGVxDW2fw2xA69QKE8cBSBIfztU6R02S6G9H4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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