SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6eb5c6ffa2772bda7e2f4eb0be9dfa7e061c0394865ab251f889d507c9eacec6' 
  AND token = 'oi6tSg8ZtTTvHuCpFvxRUZ8CRVF652Yz2i4tZi1rZ4U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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