SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0085212a49aaf2128754d451763ccbcf2e022d974445e703563380fceece3550' 
  AND token = 'Rx3twxv2lJQ7bgodjNIKVTVOUy8NoWZVVot4qraeHTw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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