SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fa45ba04584e5f84eca835881a87836cd5f3787bbaf450d7326111b2080e4ace' 
  AND token = 'y02D0c7JbGJOuDsLZGFy/Of+nasu+4kZTjCZq1s5ids=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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