SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '940ce523363a19db5f3ae2094af5a876d971c6743a11073c31ee802634951d33' 
  AND token = '5BOsynv4H+ZeU8ciFMchym1645AIUD2n5ezmBfSgWJ4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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