SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '56fe2ba102534e9780e95f807c0de52ff63d387cde0e570e69846f574cf7c182' 
  AND token = 'UWpWcGG3Y/YUbEGt4AyUsJwsJQ7z27We3nRf28L8fDY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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