SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5604a9500391f6ed4776b990f3b05723a43d438c495d75570dec44f1a4161965' 
  AND token = 'KgNgVyKklwydfNPxKtznHN0kXXwbKeO01HXklN4k+3E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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