SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '311d728a57f16622337eb8dcdbf32aa22017322b2ca3aae2d508853a5048e6e0' 
  AND token = 'gSeH1YIR3u6yByjkt546fzpWU0TRaftmaBd4/+jKsEo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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