SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d014955eabb558adc0967b353981272421a904f7c8334fc2dea9090514208b4' 
  AND token = 'stPJz3vCWEc3nNdYOkFPC41cEEr4uMexOhbpAJfwJ08=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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