SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c7d0027f78b8b7771e09403da08f5c21744e74433206e29703de2c39038f0b9' 
  AND token = 'x8yiQf0BW0ofCjvWP4u8V7Sog1OCiF68aQylJoU6bdg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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