SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '017dea70d899249af895ee789c5519679e018f06e06729608a34c7881ffaecb2' 
  AND token = 'Z6aeu1Fu6Dn7q18P+y/ku4zTSoOSRgbhJfroEkewChQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00216

JSON explain

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