SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7b3973059f2da44c96394ce8eca7e219572ca5b1c67d4663e7022da77dece64b' 
  AND token = 'tCN/opbLyNXqGZ6OFy4ZS5DnpmNpQc+9Ao9/6S9PQqM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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