SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7ec1ffa0666b750d95cd29dbbc3c3a088f581598f0067d08eccaca9cb0a98cc' 
  AND token = 'zW7Gy5G8JhMSsa+s2FzPw9VtFwB4Q1Juaa/K7kx/AU4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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