SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7912577aaf03c95740c7d4f91ae4bfb7e686f855851dc04d0ec06418761873ec' 
  AND token = 'qZYCKVzuExJ2ICfhjTJ8Pupur0w8HPLjEq1Dt5L1F8k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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