SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4a5e8c2ed1fb5efb661c29dedf67c91345c04a3ede93ac0e2275e04c1760a69' 
  AND token = 'yqpO4LEXRtpmi830kJG0/djyvYx4CTEB3CKM7mH5L1k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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