SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '539c187f30fda978eeafea16679fb61ff689a91b0bcd2a78d2db249d72cb0de3' 
  AND token = 'e4rFaBPfjSU0t8Pp6rMIeK2HSFRbCOnpCDJboYiZj2A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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