SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f1ff5955cbde13320e5bbd36c7b591dc8b1e91e7da1e90bc2503358b46ea79c' 
  AND token = 'pIys5gmKJ9y7SqTFK7Enmhr7IHfDTv7oAn/TjNwYVbM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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