SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a8de622e7e94500c94496a5b344173e34c650f65ec91695e5cead4457e067ed' 
  AND token = 'DCGCKHMD2EH2QOX2Xl2Qnfdl7mv6ezq4b5T9ZLlsOOk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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