SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8005125e16583d4112459598579867390c1905b37243f482070194ba4b4af807' 
  AND token = 'XjmsAiy2obuI/mQc7mhzjnM5JdaWywFgo8rRiAXa06M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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