SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5340255ed691ea24142fac2edf690da3a478d92dfa05ffddbac631e5843bb555' 
  AND token = '0dz/0xQC71zJjRcdM0dynrljPGnobIzzbDYNpOevsPg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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