SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87b821c66d650132bf7450a0503aa988f217020fc18074be9a0afc04792d5e0c' 
  AND token = 'K27G3ytf8xzSoxG3ijEuYhVeCcnBXKyq5lB9QwaKgvc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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