SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e08ad0a3a7afcd2d8a497c22f5d3bdadbefe8982582da33ce97dd207e39634d0' 
  AND token = 'rvQ2OTuuQSfbAMPZ0CbDs4y9m7iKMl1FZj8pvts6z6w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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