SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2f584d46f8d36feba2cf581d3a825651d68072e88043c13dd160dc4e799df23' 
  AND token = '8UyQR51FDrdKtskKZhuwdb3aOo9HQQzdJu+yoASssto=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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