SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a9afebde1698973f6bd57ecfc58abc23fcfae71c0e4691184c3a29451f5218c' 
  AND token = '0moUbKNbFrn86ITgJFtA0DMw2lh7xmp/N3L0id27NOE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00066

JSON explain

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